package org.dbwebx.flex.control.menu
{
	import mx.core.UIComponent;

	public interface IMenuGenerator
	{
		
		function setupMenuData(data:Object, dataProvider:Array=null, parentViewComponent:Object=null):void;
		
        function prepareMenu():void;
        
        function showMenu(anchorViewComponent:UIComponent = null):void;
        
        function addMenuItem(item:MenuItem, enabled:Boolean=true, addOnlyEnabled:Boolean=false, disableMenuItemDuplicationException:Boolean=true):void;
	}
}